package com.dhcc.sds.base.service;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.core.framework.base.service.IBaseService;
import com.dhcc.core.framework.result.node.ZTreeNode;
import com.dhcc.sds.base.entity.SdsQcentityEntity;

/**
 * 质控病种字典表数据服务层接口
 * 
 * @ClassName: ISdsQcentityService
 * @Description: TODO
 * @author sunyingjie
 * @date 2021-03-22 10:10:52
 */
public interface ISdsQcentityService  extends IBaseService<SdsQcentityEntity> {
	
    List<SdsQcentityEntity> page(Page<SdsQcentityEntity> page,Map<String, Object> map);
    List<SdsQcentityEntity> list(Map<String, Object> map);

    List<SdsQcentityEntity> listBtDesc();

    List<ZTreeNode> getEntityTree();
    List<ZTreeNode> getEntityTreeByTypeCode(String typeCode);
    JSONObject getQcentity();
    void importEntities(List<List<Object>> all);
    JSONArray getUpEntityMap();
    JSONArray getEntityMapByTypeCode(String typeCode);
    //根据基础配置取相关病种
    JSONArray getEntityMapByConfig(String productCode, String code);
    JSONArray getEntityMap2();
}
